package com.lxp.eduService.client.impl;

import com.lxp.eduService.client.VodClient;
import com.lxp.utils.R;
import org.springframework.stereotype.Component;

//当熔断器生效时，该实现类的方法就会被调用
@Component
public class VodClientImpl implements VodClient {
    @Override
    public R removeAlyVideo(String id) {
        //调用方法失败
        return R.error().code(20001);
    }
}
